/* Title:		
 *
 * Project:     MAS
 *
 * @ Link: 		http://...
 *
 * @ Email:		ivan_ling@hotmail.com
 *
 * @ Copyright: Copyright (c) 2008 mezimedia
 *
 * @ Author 	Ivan.ling
 *
 * @ Version 	1.0
 
 * @ last change time 2008-01-20 	
 */
package com.pub.mail;

public enum EnumLevel
{
	DEBUG_GREEN, INFO_BLUE, WARN_YELLOW, ERROR_ORANGE, FATAL_RED;
	
	public static String getLevelColor(EnumLevel emLevel)
	{
		switch(emLevel){
			case DEBUG_GREEN : 	return "00FF00";
			case INFO_BLUE : 	return "0000FF";
			case WARN_YELLOW : 	return "FFFF00";
			case ERROR_ORANGE : return "FFA500";
			case FATAL_RED : 	return "FF0000";
			
			default: return "";
		}
	}
}
